package com.sunshinew.vo;

import com.sunshinew.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 鲜磊
 * @Date 2021/4/9 11:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserVo extends User {

    /**
     * 分页
     */
    private Integer page = 1;

    private Integer limit=10;

    private Integer ids[];

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
